<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>add</title>
  <link rel="stylesheet"  th:href="@{/css/bootstrap.css}">
</head>
<body>

<div   class="container" >
 <form method="post" th:action="@{/add}">
   <input type="text" name="username" placeholder="INput your username">
   <br>
   <input type="text" name="content" placeholder="输入文本">
   <br>
   <input type="submit" value="submit"  class="btn btn-primary ">&nbsp;&nbsp;<input type="reset" value="reset">

 </form>
</div>
</body>
</html>